{layout name="common/layout" /}

<div class="container" id="content-container">

    <h1 class="category-title fit-width">

        <div class="more pull-left">
            <ol class="breadcrumb">
                当前位置：
                <!-- S 面包屑导航 -->
                {cms:breadcrumb id="item"}
                <li><a href="{$item.url}">{$item.name|htmlentities}</a></li>
                {/cms:breadcrumb}
                <!-- E 面包屑导航 -->
            </ol>
        </div>
    </h1>


    <div class="row">
        <aside class="col-xs-12 col-md-3">
            <div class="side-nav">
                <div class="tit ">

                    {cms:channellist id="channel" typeid="$__CHANNEL__.parent_id"}
                    {$channel.name}
                    {/cms:channellist}
                    <!--                    <span>News Center</span>-->
                </div>
                <ul>
                    {cms:channellist id="item" type="son"  limit="6" typeid="$__CHANNEL__.parent_id"}
                    <li {if $__CHANNEL__.id==$item.id}class="on"{/if}><a href="{$item.url}" title="{$item.name}">{$item.name}</a></li>
                    {/cms:channellist}

                </ul>
            </div>
        </aside>
        <main class="col-xs-12 col-md-9">
            <div class="panel panel-default" style="padding: 0;background: #fff;border: 1px solid #eee;">
                <div class="panel-heading ny-r-tit ">
                    <h3 class="panel-title">
                        <span>{cms:channel name="name" /}</span>

                    </h3>
                </div>
                <div class="panel-body py-0">
                    <div class="news-contenet">
                        <div class="news-con-head">
                            <h1 {if $__ARCHIVES__.style}style="{$__ARCHIVES__.style_text}" {/if}>{cms:archives name="title|htmlentities" /}</h1>
                            <div class="info"> {if isset($__ARCHIVES__.author) && $__ARCHIVES__.author}来源：{cms:archives name="author|htmlentities" /}   | {/if} 阅读量：{cms:archives name="views" /}   |  发布时间：{cms:archives name="publishtime|datetime" /}</div>
                        </div>
                        <div class="news-arc arccontent">
                            {if $__ARCHIVES__.is_paid_part_of_content || $__ARCHIVES__.ispaid}
                            {cms:archives name="content" /}
                            {/if}
                        </div>
                        <hr>
                        <div class="sxy am-cf">
                            {cms:prevnext id="prev" type="prev" archives="__ARCHIVES__.id" channel="__CHANNEL__.id"}
                            <p class="am-fl">上一篇：

                                <a href="{$prev.url}" title="{$prev.title|htmlentities}">{$prev.title|htmlentities}</a>

                            </p>
                            {/cms:prevnext}
                            {cms:prevnext id="next" type="next" archives="__ARCHIVES__.id" channel="__CHANNEL__.id"}
                            <p class="am-fr">下一篇：

                                <a href="{$next.url}" title="{$next.title|htmlentities}">{$next.title|htmlentities}</a>

                            </p>
                            {/cms:prevnext}
                        </div>
                    </div>
                </div>
            </div>
        </main>

    </div>
</div>
